From 5e6e963a45d11ad802855a46656b0646c54fcc46 Mon Sep 17 00:00:00 2001 From: Oleksandr Andrushchenko Date: Thu, 2 Nov 2017 08:35:24 +0200 Subject: [PATCH] sndif: Introduce protocol version Protocol version was referenced in the protocol description, but missed its definition. Fix this by adding a constant for current protocol version. Signed-off-by: Oleksandr Andrushchenko Reviewed-by: Konrad Rzeszutek Wilk Signed-off-by: Konrad Rzeszutek Wilk Release-acked-by: Juergen Gross --- xen/include/public/io/sndif.h | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/xen/include/public/io/sndif.h b/xen/include/public/io/sndif.h index c5c1978406..667e610fda 100644 --- a/xen/include/public/io/sndif.h +++ b/xen/include/public/io/sndif.h @@ -36,6 +36,13 @@ #include "ring.h" #include "../grant_table.h" +/* + ****************************************************************************** + * Protocol version + ****************************************************************************** + */ +#define XENSND_PROTOCOL_VERSION 1 + /* ****************************************************************************** * Feature and Parameter Negotiation -- 2.30.2